package com.wlc.oop.demo01;

/**
 * @author 王立朝 wanglichao@champion-credit.com
 * @description 测试
 * @date 2021-06-25 13:08
 */
public class Demo05 {
    public static void main(String[] args) {
        Pet dog = new Pet();
        dog.name="大黄";
        dog.age = 3;
        dog.shout();
        System.out.println("dog.name = " + dog.name);
        System.out.println("dog.age = " + dog.age);
        Pet cat = new Pet();
    }
}
